<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS浮动 练习</title>
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }
        .inner{
            width: 970px;
            margin: 0px auto;
        }
        .inner .top{
            height: 103px;
            margin-bottom: 10px;
        }
        .inner .top .logo{
            width: 277px;
            height: 103px;
            background: red;
            float: left;
        }
        .inner .top .nav{
            width: 679px;
            height: 103px;
            float: right;
        }
        .inner .top .nav .news{
            width: 137px;
            height: 49px;
            background-color: #00d700;
            margin-bottom: 8px;
            float: right;
        }
        .inner .top .nav .nav_li{
            width: 100%;
            height: 46px;
            background-color: #00d700;
            float: right;
        }
        .inner .middle{
            height: 435px;
            margin-bottom: 10px;
        }
        .inner .middle .left{
            width: 310px;
            height: 435px;
            background-color: #ffc300;
            float: left;
        }
        .inner .middle .right{
            width: 650px;
            height: 435px;
            float: right;
        }
        .inner .middle .right .r_top{
            height: 401px;
            margin-bottom: 10px;
        }
        .inner .middle .right .r_top .r_top_left{
            width: 450px;
            height: 401px;
            float: left;
        }
        .inner .middle .right .r_top .r_top_left .s_top{
            height: 240px;
            background-color: #2894ff;
            margin-bottom: 10px;
        }
        .inner .middle .right .r_top .r_top_left .s_center{
            height: 110px;
            background-color: #2894ff;
            margin-bottom: 10px;
        }
        .inner .middle .right .r_top .r_top_left .s_bottom{
            height: 30px;
            background-color: #2894ff;
        }
        .inner .middle .right .r_top .r_top_right{
            width: 190px;
            height: 401px;
            background-color: #d74799;
            float: right;
        }
        .inner .middle .right .r_bottom{
            height: 25px;
            background-color: green;
        }
        .inner .bottom{
            height: 35px;
            background: navy;
            margin-bottom: 10px;
        }
    </style>
</head>
<body>
    <div class="inner">
        <!-- 顶部导航 -->
        <div class="top">
            <div class="logo"></div>
            <div class="nav">
                <div class="news"></div>
                <div class="nav_li"></div>
            </div>
        </div>
        <!-- 中心部分 -->
        <div class="middle">
            <div class="left"></div>
            <div class="right">
                <div class="r_top">
                    <div class="r_top_left">
                        <div class="s_top"></div>
                        <div class="s_center"></div>
                        <div class="s_bottom"></div>
                    </div>
                    <div class="r_top_right"></div>
                </div>
                <div class="r_bottom"></div>
            </div>
        </div>
        <!-- 底部footer -->
        <div class="bottom">

        </div>
    </div>
</body>
</html>